<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page isELIgnored="false" %>

<!-- 页面头部组件-->
<header class="main-header-area">
    <!--首页欢迎div-->
    <div class="header-top bg-pronia-primary d-none d-lg-block">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-6">
                    <div class="header-top-left">
                        <c:choose>
                            <c:when test="${!empty usered}">
                                <span>尊敬的 <a href="/bookmall/center" id="useredName">${usered.userName}</a> 用户,欢迎光临浅阅书城</span>
                            </c:when>
                            <c:otherwise>
                                <span class="pronia-offer">欢迎光临浅阅书城</span>
                            </c:otherwise>
                        </c:choose>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!--PC端页面公共导航栏-->
    <jsp:include page="common-nav.jsp" />

    <!--菜单信息-->
    <jsp:include page="common-menu.jsp" />

    <!--页面下滑后显示的菜单信息-->
    <jsp:include page="common-scrollerMenu.jsp" />

    <!--手机端显示的导航栏-->
    <jsp:include page="common-mobileMenu.jsp" />

    <!--购物车首页显示详情-->
    <jsp:include page="common-cart.jsp" />

    <!--搜索model-->
    <jsp:include page="common-search.jsp" />

    <!--商品显示详情模态框-->
    <jsp:include page="common-quickview.jsp" />

    <div class="global-overlay"></div>
</header>

